package SnakeGame;

import javax.microedition.lcdui.Display;
import javax.microedition.midlet.*;

/**
 * @author HOME
 */
public class MID extends MIDlet {
    
    Display dis;
    MC mc;
    
    public MID(){
        super();
        dis = Display.getDisplay(this);
        mc = new MC();
    }

    public void startApp() throws MIDletStateChangeException{
        dis.setCurrent(mc);
    }
    
    public void pauseApp() {
    }
    
    public void destroyApp(boolean arg0) throws MIDletStateChangeException{
    }
}
